package com.dearbinge.data.service.impl.shopbanner;

import com.dearbinge.data.api.shopbanner.ShopBannerService;
import com.dearbinge.data.dao.shopbanner.ShopBannerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service(value ="shopBannerService")
public class ShopBannerServicelmpl  implements ShopBannerService{
    @Autowired
    private ShopBannerMapper shopBannerMapper;

    @Override
    public List<Map> getIndexBanner() {
        List<Map> indexBannerList = shopBannerMapper.getIndexBanner();
        return indexBannerList;
    }
}
